<!--
  @author tanghongjun
  @since 2018/10/19 08:59
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>合同收付列表</title>
</head>
<body>

<div class="layui-fluid">

    <blockquote class="layui-crumb">合同管理&nbsp;>
        <a th:lay-href="|/contract/borrow/record/list.action?contractId=${obj.contractId}|">合同收付列表</a>&nbsp;
    </blockquote>

    <div class="layui-card">
        <div th:replace="contract/record/_tab::tab"></div>
        <div class="layui-split">&nbsp;</div>

        <div class="layui-card-body" id="table_body">
            <div th:replace="contract/payment/record/_table::table"></div>

            <script type="text/html" id="zmn-table-tool">
                <div class="layui-btn-container">
                    <div class="layui-btn-group">
                        <a lay-text="新增" th:onclick="modifyContractPaymentRecord([[${obj.contractId}]], 0);" class="layui-btn layui-btn-sm layui-btn-primary"
                           th:if="${#authPermit.checkPermit('/contract/payment/record/detail.action')}">+新增收付记录
                        </a>
                    </div>
                </div>
            </script>
        </div>
    </div>

</div>
</body>
</html>
<script type="text/javascript" th:inline="javascript">

    var json = {
        items: [[${items}]]
    };

    layui.config({
        version: 2020021211018,
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        contract_payment_record_list_js: "contract/payment/record/zmn.plat.contract.payment.record.list",
    }).use(['index', 'contract_payment_record_list_js']);

</script>